<?php
/**
 * --------------------------------------------------------------
 * 角色模型
 * --------------------------------------------------------------
 * Light Year Doc
 * @author yinq<3331653644@qq.com>
 * --------------------------------------------------------------
 */
namespace app\admin\model;

use think\Model;

class AuthGroup extends Model
{
    public function admin()
    {
        return $this->belongsToMany('Admin', config('database.prefix').'auth_group_access', 'aid');
    }
}